<template>
	<b>这个是children3的子组件</b> <br>
	<b>这个是grandchild</b>
	<div>
		{{res}}
	</div>
</template>

<script setup>
	name:'grandchild'
	import {inject} from 'vue'
	const res=inject('change')
</script>

<style>
</style>